package com.tx.admin.noveldict.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.tx.mysql.EntityChangeListener;
import java.time.LocalDateTime;

/**
* <p>
* 字典
* </p>
*
* @author sz-admin
* @since 2025-05-06
*/
@Data
@Table(value = "novel_dict", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "字典")
public class NovelDict implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description ="主键")
    private Long id;

    @Schema(description ="字典名称")
    private String name;

    @Schema(description ="")
    private LocalDateTime updateTime;

    @Schema(description ="")
    private LocalDateTime createTime;

    @Schema(description ="编码")
    private String code;

}